package com.aqie.optimize.controller;

import com.aqie.optimize.service.IBaseService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author: aqie
 * @create: 2020-12-24 22:10
 **/
@RestController
public class HelloController {
    @Autowired
    private IBaseService baseService;
    @GetMapping("hello")
    public String hello(String property){
        return baseService.getProperty(property);
    }
}
